extends Node
# 枪兵 - Gladiator 或 Spearman皇家卫队 - RoyalGuard 或 EliteGuardian装甲剑盾兵 - ArmoredKnight 或 ShieldWarrior睡魔 - Somnia 或 DreamWeaver化蛇 - OphidianShifter 或 SnakeMage魔鬼兵 - FiendTrooper 或 DemonSoldier炎魔 - InfernoDemon 或 FlameImp人鱼法师 - MermaidSorceress 或 SeaMage幼龙 - DrakeWhelp 或 YoungWyrm
var Gladiator = {
	"name":"枪兵",
	"texture":"Gladiator.png",
	"attributes":{
		"physical_damage":50,
		"magical_damage":20,
		"physical_defense":40,
		"magical_defense":30,
		"speed":0.7,  # 假设0.7秒一次攻击
		"attack_type":"Physical",
		"range_type":"Melee",
		"max_hp":100
	}
}
var Mage = {
	"name":"法师",
	"texture":"Mage.png",
	"attributes":{
		"physical_damage":15,
		"magical_damage":100,
		"physical_defense":5,
		"magical_defense":90,
		"speed":0.6,
		"attack_type":"Magical",
		"range_type":"Ranged",
		"max_hp":60
	}
}
var RoyalGuard = {
	"name":"皇家卫队",
	"texture":"RoyalGuard.png",
	"attributes":{
		"physical_damage":60,
		"magical_damage":10,
		"physical_defense":70,
		"magical_defense":40,
		"speed":0.9,
		"attack_type":"Physical",
		"range_type":"Melee",
		"max_hp":120
	}
}
var ShieldWarrior = {
	"name":"装甲剑盾兵",
	"texture":"ShieldWarrior.png",
	"attributes":{
		"physical_damage":55,
		"magical_damage":5,
		"physical_defense":80,
		"magical_defense":35,
		"speed":1.0,
		"attack_type":"Physical",
		"range_type":"Melee",
		"max_hp":150
	}
}
var Somnia = {
	"name":"睡魔",
	"texture":"Somnia.png",
	"attributes":{
		"physical_damage":30,
		"magical_damage":80,
		"physical_defense":20,
		"magical_defense":60,
		"speed":0.6,
		"attack_type":"Magical",
		"range_type":"Ranged",
		"max_hp":90
	}
}
var SnakeMage = {
	"name":"化蛇",
	"texture":"SnakeMage.png",
	"attributes":{
		"physical_damage":40,
		"magical_damage":70,
		"physical_defense":25,
		"magical_defense":55,
		"speed":0.7,
		"attack_type":"Magical",
		"range_type":"Ranged",
		"max_hp":110
	}
}
var DemonSoldier = {
	"name":"魔鬼兵",
	"texture":"DemonSoldier.png",
	"attributes":{
		"physical_damage":50,
		"magical_damage":50,
		"physical_defense":50,
		"magical_defense":50,
		"speed":0.8,
		"attack_type":"Physical/Magical",
		"range_type":"Melee",
		"max_hp":130
	}
}
var FlameImp = {
	"name":"炎魔",
	"texture":"FlameImp.png",
	"attributes":{
		"physical_damage":25,
		"magical_damage":95,
		"physical_defense":15,
		"magical_defense":85,
		"speed":1.1,
		"attack_type":"Magical",
		"range_type":"Ranged",
		"max_hp":80
	}
}
var SeaMage = {
	"name":"人鱼法师",
	"texture":"SeaMage.png",
	"attributes":{
		"physical_damage":10,
		"magical_damage":90,
		"physical_defense":10,
		"magical_defense":80,
		"speed":0.6,
		"attack_type":"Magical",
		"range_type":"Ranged",
		"max_hp":75
	}
}
var YoungWyrm = {
	"name":"幼龙",
	"texture":"YoungWyrm.png",
	"attributes":{
		"physical_damage":80,
		"magical_damage":30,
		"physical_defense":70,
		"magical_defense":40,
		"speed":0.8,
		"attack_type":"Physical",
		"range_type":"Melee",
		"max_hp":140
	}
}
